﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace WebApplication3.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult About()
        {
            var str = "我的天啦";
            return View();
            ViewBag.Message = str;
            
        }

        public ActionResult Contact()
        {
            //string res = string.Format("你好,{0}");
            //return res();
            ViewBag.Message = "emm,这是要写啥啊，不知道欸";

            return View();
        }
    }
}